//
//  WaveformGraphView.h
//  安好
//
//  Created by qinlongqing on 14-9-1.
//  Copyright (c) 2014年 冯凯. All rights reserved.
//

#import <UIKit/UIKit.h>

#pragma 画图的基础点类
@interface PointContainer : NSObject

@property (nonatomic,readonly) NSInteger numberOfTranslationElements;//统计多少个，最多为kMaxContainerCapacity的个数

@property (nonatomic,readonly) CGPoint *translationPointContainer;//这里是指向CGPoint类型变量的指针(数组)

- (void)initDataWithWidth:(CGFloat)width;

- (void)addPointAsTranslationChangeForm:(CGPoint)point;//平移变换

@end



#pragma 画曲线的视图
@interface WaveformGraphView : UIView

- (void)fireDrawingWithPoints:(CGPoint *)points pointsCount:(NSInteger)count;

@end
